<?php
/**
 * 测试 eAccelerator 缓存 
 *
 * @filesource .php
 * @package 
 * @subpackage 
 * @version $id: 0.1, utf8, $
 * @author LD King <kldscs[at]gmail.com>
 * @copyright Copyleft (D.) 2007 - 2009 MiFunny China Inc.
 * @link http://mifunny.info/
 * @example 
 *   
 */
define('DSCACHE_TYPE', 'eaccelerator');
require_once '../Cache.class.php';

$d = array('abcdefghijkmnbopqwea', 'dog-style', 'dogmark.com');

if( $d2 = Cache::get('dogmark') ){
    echo 'get:  '; var_export($d2);
}else{
    Cache::set('dogmark', $d);
    echo 'set: '; var_export($d);
}


?>

